﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsSharedSecret.ascx.cs"
    Inherits="VIT.Web.Modules.NewsSharedSecret.NewsSharedSecret" %>
<script src="<%=URLRoot %>Includes/sagscroller/sagscroller.js"></script>
<script type="text/javascript">
    var sagscroller = new sagscroller({
        id: 'mysagscroller',
        mode: 'auto',
        pause: 2500,
        animatespeed: 400 //<--no comma following last option
    })	
</script>
<div class="video" id='divVieo<%="' style='display:" + hasVideo+"'"%>>
    <a href="<%=link %>" style="text-decoration:none" target="_blank"><img alt="<%=title %>" class="style1" src="<%=URLRoot%>Uploads/Images/Logos/<%=fileName %>" style="border:0" width="175px" height="111pz"/></a></div>
<h1>
    BÍ QUYÉT TRANG TRÍ HOA CHO NGÀY CƯỚI</h1>
<div id="mysagscroller" class='sagscroller<%=height>0?"' style='Height:"+height+"px":"" %>'>
    <ul>
        <asp:Repeater ID="rpt" runat="server">
            <ItemTemplate>
                <li><a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" title="<%#Eval("Title") %>">Ngày
                    <%#Eval("DisplayDate","{0: dd/MM/yyyy}")%><br />
                    <%#Eval("Title")%></a>
                    <h3><%#Eval("Brief").ToString().Substring(3,Eval("Brief").ToString().Length-7)%></h3>
                </li>
                
            </ItemTemplate>
        </asp:Repeater>
        <%--    <li <%="style='color: #676767; font-size: 12px;display:none"+hasPagging+"'"%>>
        <asp:DataPager ID="Pager" runat="server" PagedControlID="ListView" PageSize="4" OnPreRender="Pager_PreRender">
            <Fields>
                <asp:NextPreviousPagerField ShowFirstPageButton="True" ShowNextPageButton="false"
                    FirstPageText="<<" PreviousPageText="<" />
                <asp:NumericPagerField />
                <asp:NextPreviousPagerField ShowLastPageButton="True" ShowPreviousPageButton="false"
                    LastPageText=">>" NextPageText=">" />
            </Fields>
        </asp:DataPager>
    </li>--%>
    </ul>
</div>
